package com.example.demo;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/v1")
public class IndexContrller {

    @GetMapping("/index")
    public ResponseEntity<?> index(){
        return ResponseEntity.ok("server is running...");
    }

}
